class User{
    constructor(name,age){
        this.name = name
        this.age = age
    }
}

const print = ()=>{
    const user = new User('小明',12)
    console.log(`打印用户信息 ${user.name} : ${user.age}`)
}

print()